import pytest


@pytest.fixture(scope="package")
def func():
    print("初始化!")
    yield
    print("结束!")